<template>
  <div :class="$route.query.templateName">
    <van-tabbar v-model="active">
      <van-tabbar-item icon="home-o" to="/">网站首页</van-tabbar-item>
      <van-tabbar-item icon="search" to="/show.html">企业介绍</van-tabbar-item>
      <van-tabbar-item icon="friends-o" to="/supplyself.html">
        全部产品
      </van-tabbar-item>
      <van-tabbar-item icon="setting-o" to="/news.html">
        企业咨讯
      </van-tabbar-item>
      <van-tabbar-item icon="setting-o" to="/company.html">
        联系我们
      </van-tabbar-item>
    </van-tabbar>
    <Nuxt />
  </div>
</template>
<script>
export default {
  name: 'DefaultLayouts',
  data() {
    return {
      active: ''
    }
  }
}
</script>
